//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-03B
TN_Widget.CreateTable([['Outlaw Music Festival: Willie Nelson, Bob Dylan, Robert Plant & Alison Krauss','Northwell Health at Jones Beach Theater','Wantagh, NY','Saturday','6/29/2024','5:30 PM','6290993','Outlaw-Music-Festival--Willie-Nelson--Bob-Dylan--Robert-Plant---Alison-Krauss-6-29-2024'],['Maroon 5 & Maren Morris','Northwell Health at Jones Beach Theater','Wantagh, NY','Wednesday','7/3/2024','7:30 PM','6369982','Maroon-5---Maren-Morris-7-3-2024'],['Dave Matthews Band','Northwell Health at Jones Beach Theater','Wantagh, NY','Tuesday','7/9/2024','7:30 PM','6229398','Dave-Matthews-Band-7-9-2024'],['Alanis Morissette, Joan Jett And The Blackhearts & Morgan Wade','Northwell Health at Jones Beach Theater','Wantagh, NY','Wednesday','7/10/2024','7:00 PM','6071647','Alanis-Morissette--Joan-Jett-And-The-Blackhearts---Morgan-Wade-7-10-2024'],['Jason Aldean','Northwell Health at Jones Beach Theater','Wantagh, NY','Friday','7/12/2024','7:30 PM','6112759','Jason-Aldean-7-12-2024'],['Third Eye Blind, Yellowcard & Arizona','Northwell Health at Jones Beach Theater','Wantagh, NY','Thursday','7/18/2024','6:30 PM','6203514','Third-Eye-Blind--Yellowcard---Arizona-7-18-2024'],['Slightly Stoopid & Dirty Heads','Northwell Health at Jones Beach Theater','Wantagh, NY','Saturday','7/20/2024','6:00 PM','6303682','Slightly-Stoopid---Dirty-Heads-7-20-2024'],['Santana & Counting Crows','Northwell Health at Jones Beach Theater','Wantagh, NY','Sunday','7/21/2024','7:00 PM','6264333','Santana---Counting-Crows-7-21-2024'],['An Evening of Icons: The Commodores, The Pointer Sisters & The Spinners','Northwell Health at Jones Beach Theater','Wantagh, NY','Thursday','7/25/2024','7:30 PM','6385560','An-Evening-of-Icons--The-Commodores--The-Pointer-Sisters---The-Spinners-7-25-2024'],['Train, REO Speedwagon & Yacht Rock Revue','Northwell Health at Jones Beach Theater','Wantagh, NY','Saturday','7/27/2024','7:00 PM','6239132','Train--REO-Speedwagon---Yacht-Rock-Revue-7-27-2024'],['Earth, Wind and Fire & Chicago','Northwell Health at Jones Beach Theater','Wantagh, NY','Sunday','7/28/2024','7:30 PM','6079774','Earth--Wind-and-Fire---Chicago-7-28-2024'],['Imagine Dragons','Northwell Health at Jones Beach Theater','Wantagh, NY','Friday','8/2/2024','7:00 PM','6396708','Imagine-Dragons-8-2-2024'],['Kidz Bop Live','Northwell Health at Jones Beach Theater','Wantagh, NY','Saturday','8/3/2024','6:00 PM','6220145','Kidz-Bop-Live-8-3-2024'],['New Kids On The Block','Northwell Health at Jones Beach Theater','Wantagh, NY','Sunday','8/4/2024','7:00 PM','6045229','New-Kids-On-The-Block-8-4-2024'],['The Beach Boys','Northwell Health at Jones Beach Theater','Wantagh, NY','Thursday','8/8/2024','7:00 PM','6251870','The-Beach-Boys-8-8-2024'],['Dan And Shay, Jake Owen & Dylan Marlowe','Northwell Health at Jones Beach Theater','Wantagh, NY','Saturday','8/10/2024','7:00 PM','6276427','Dan-And-Shay--Jake-Owen---Dylan-Marlowe-8-10-2024'],['Barbie: The Movie - In Concert','Northwell Health at Jones Beach Theater','Wantagh, NY','Sunday','8/18/2024','8:00 PM','6302544','Barbie--The-Movie---In-Concert-8-18-2024'],['Lynyrd Skynyrd, ZZ Top & The Outlaws','Northwell Health at Jones Beach Theater','Wantagh, NY','Thursday','8/22/2024','6:30 PM','6046682','Lynyrd-Skynyrd--ZZ-Top---The-Outlaws-8-22-2024'],['Avril Lavigne, Simple Plan & Girlfriends','Northwell Health at Jones Beach Theater','Wantagh, NY','Tuesday','8/27/2024','7:00 PM','6226918','Avril-Lavigne--Simple-Plan---Girlfriends-8-27-2024'],['James Taylor & His All-Star Band','Northwell Health at Jones Beach Theater','Wantagh, NY','Saturday','8/31/2024','8:00 PM','6276398','James-Taylor---His-All-Star-Band-8-31-2024'],['Deep Purple','Northwell Health at Jones Beach Theater','Wantagh, NY','Sunday','9/1/2024','6:30 PM','6372374','Deep-Purple-9-1-2024'],['Hootie and The Blowfish','Northwell Health at Jones Beach Theater','Wantagh, NY','Thursday','9/5/2024','7:00 PM','6062250','Hootie-and-The-Blowfish-9-5-2024'],['Pitbull','Northwell Health at Jones Beach Theater','Wantagh, NY','Thursday','9/12/2024','8:00 PM','6399308','Pitbull-9-12-2024'],['Megadeth','Northwell Health at Jones Beach Theater','Wantagh, NY','Saturday','9/14/2024','6:30 PM','6399811','Megadeth-9-14-2024'],['Breaking Benjamin & Staind','Northwell Health at Jones Beach Theater','Wantagh, NY','Thursday','9/19/2024','5:30 PM','6314547','Breaking-Benjamin---Staind-9-19-2024']],'Northwell Health at Jones Beach Theater','http://www.ticketnetwork.com/ticket/Northwell-Health-at-Jones-Beach-Theater-events.aspx');